<!-- 模板 -->
<template>
    <div>
      <el-dialog v-model="model" :title="type=='ADD'?'添加菜单':'编辑菜单'" width="500" :close-on-click-modal="false">
        
      </el-dialog>
    </div>
  </template>
  
  <script lang="ts">
  import router from '@/router'
  import { moduleExpression } from '@babel/types'
  import menuEnums from '@/config/Enums/menu'
  import Pinterface from '@/config/Interface/Public'
  import Interface from '@/config/Interface/Menu'
  import { defineComponent,ref,onMounted,reactive,toRefs} from 'vue'
  import { getCurrentInstance} from 'vue'
  import { useStore } from '../../store'
  import { ElMessage, FormInstance, FormRules } from 'element-plus'
  import {createUserApi,updateUserApi} from '@/request/user'
  export default defineComponent({
    name: 'chooseMenu',
    components: {
        
    },
    setup(props,{ emit }){
      const store = useStore()
      const context = getCurrentInstance()?.appContext.config.globalProperties; //获取this
      const msg = reactive<any>({})
      const model =ref(false) // 模态框显示隐藏
      const type = ref('') //类型 添加/编辑
  
      
      return {
        
      }
    }
  })
  </script>
  
  <style scoped lang="stylus">
  </style>
  